<template>
  <view class="main">
    <MHeader ref="header">
    	基本信息
    </MHeader>

    <!-- 主要信息 -->
    <van-cell title="姓名" :value="data.myInfo.Fname" />
    <van-cell title="性别" :value="data.myInfo.Fgender" />
    <van-cell title="手机号" :value="data.myInfo.Fmobile" />
    <van-cell title="所在组织" :value="data.myInfo.OrgName" />
	
  </view>
</template>

<script setup>
import { getCurrentInstance } from 'vue'
import { reactive } from 'vue'
import { onReady, onLoad } from '@dcloudio/uni-app'

let data=reactive({
	myInfo:{}
})
onLoad(async () => {
  let userInfo = await coreApi.myInfo()
  data.myInfo = userInfo.data
})
//
</script>

<style lang="scss" scoped>
::v-deep .van-cell {
  border-bottom: 1px solid #f2f2f4;
  border-top: 0px solid transparent;
  height: 100rpx;
  // line-height: 100rpx;
  .van-cell__value {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    span {
      color: #333333;
    }
  }
  .van-cell__title {
    display: flex;
    align-items: center;
  }
}
</style>
